package cn.tedu.csmall.product.ex;

import cn.tedu.csmall.product.web.ServiceCode;
import lombok.Getter;

public class ServiceException extends RuntimeException{

    @Getter
    private ServiceCode code;

    public ServiceException(ServiceCode code, String message) {
        super(message);
        this.code = code;
    }

}
